package com.huo.base.kebase.op18;

public class Person {

    public final String b="3" ;
    private String name;
    private static int age;

    public Person(int age){
        this.age = age;
    }

    public Person(){
        super(); //指向Object

    }

    /**
     * 子类调用父类被重写的方法时，使用super 关键字
     * @return
     */
    public String toString(){

       return super.toString();

    }


    /*public String find(){
        super();
        return "";
    }*/



    public static void main(String[] args) {
        Person person =  new Person(30);
        System.out.println(person.toString());
    }




}
